Add GitHub Actions workflow for PR testing#526
Add GitHub Actions workflow for PR testing#526oxygen-dioxide wants to merge 6 commits intoSciSharp:masterfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds a GitHub Actions workflow for automated testing on pull requests and updates folder name casing in the solution file to improve cross-platform compatibility.
- Introduces a multi-platform CI/CD workflow that runs tests across Windows, macOS, and Linux (including ARM variants)
- Updates solution file to use lowercase "examples" folder path for consistency
- Configures .NET 6.0 and 8.0 for testing
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
.github/workflows/test.yml |
New GitHub Actions workflow for running tests on multiple OS/architecture combinations |
SciSharp.NumSharp.sln |
Updated folder references from "Examples" to "examples" for case-sensitive file system compatibility |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
| - runs-on: windows-11-arm | ||
| arch: win-arm64 | ||
| - runs-on: macos-13 | ||
| arch: osx-x64 | ||
| - runs-on: macos-15 | ||
| arch: osx-arm64 | ||
| - runs-on: ubuntu-latest | ||
| arch: linux-x64 | ||
| - runs-on: ubuntu-24.04-arm | ||
| arch: linux-arm64 |
There was a problem hiding this comment.
The windows-11-arm and ubuntu-24.04-arm runners are not generally available on GitHub-hosted runners. These are typically only available for GitHub Enterprise Cloud customers with specific licensing. If you're using standard GitHub-hosted runners, these jobs will fail. Consider either:
- Removing these ARM runner configurations if they're not available in your environment
- Using self-hosted runners for ARM architectures
- Verifying your organization has access to these runner types
| - runs-on: windows-11-arm | |
| arch: win-arm64 | |
| - runs-on: macos-13 | |
| arch: osx-x64 | |
| - runs-on: macos-15 | |
| arch: osx-arm64 | |
| - runs-on: ubuntu-latest | |
| arch: linux-x64 | |
| - runs-on: ubuntu-24.04-arm | |
| arch: linux-arm64 | |
| - runs-on: macos-13 | |
| arch: osx-x64 | |
| - runs-on: macos-15 | |
| arch: osx-arm64 | |
| - runs-on: ubuntu-latest | |
| arch: linux-x64 |
There was a problem hiding this comment.
You're outdated. According to GitHub's announcement, arm64 Linux and Windows runners are generally available since 2024-09-03
Co-authored-by: Copilot <[email protected]>
No description provided.